﻿//Mr Inventory by David Mauler 10.2.2010
//Mr Inventory is release under the 
//GNU General Public License version 2 (GPLv2)

using System;

public class ServerInv
{
    private string _name = "NameNotGiven";
    private string _os = "N/A";
    private string _softW = "N/A";
    private string _vm = "N/A";
    private string _ip = "N/A";
    private string _model = "N/A";
    private string _serialN = "N/A";
    private string _cpu = "N/A";
    private string _mem = "N/A";
    private string _storage = "N/A";
    private string _locat = "N/A";
    private string _notes = "Notes have not been provided";
    private string _id = "";

    public ServerInv(string name, string id)
    {
        _name = name;
        _id = id;
    }

	public ServerInv(string name, string os, string softW, string vm,
                     string ip, string model, string serialN, string cpu, 
                     string mem, string storage, string locat, string notes)
	{
        _name = name;
        _os = os;
        _softW = softW;
        _vm = vm;
        _ip = ip;
        _model = model;
        _serialN = serialN;
        _cpu = cpu;
        _mem = mem;
        _storage = storage;
        _locat = locat;
        _notes = notes;
	}

    public ServerInv(string name, string id, string os, string softW, string vm,
                     string ip, string model, string serialN, string cpu,
                     string mem, string storage, string locat, string notes)
    {
        _name = name;
        _id = id;
        _os = os;
        _softW = softW;
        _vm = vm;
        _ip = ip;
        _model = model;
        _serialN = serialN;
        _cpu = cpu;
        _mem = mem;
        _storage = storage;
        _locat = locat;
        _notes = notes;
    }

    public string Name
    {
        get
        {
            return _name;
        }
        set
        {
            _name = value;
        }
    }

    public string Id
    {
        get
        {
            return _id;
        }
    }

    public string Os
    {
        get
        {
            return _os;
        }
        set
        {
            _os = value;
        }
    }

    public string Software
    {
        get
        {
            return _softW;
        }
        set
        {
            _softW = value;
        }
    }

    public string Vm
    {
        get
        {
            return _vm;
        }
        set
        {
            _vm = value;
        }
    }

    public string Ip
    {
        get
        {
            return _ip;
        }
        set
        {
            _ip = value;
        }
    }

    public string Model
    {
        get
        {
            return _model;
        }
        set
        {
            _model = value;
        }
    }

    public string Serial
    {
        get
        {
            return _serialN;
        }
        set
        {
            _serialN = value;
        }
    }

    public string Cpu
    {
        get
        {
            return _cpu;
        }
        set
        {
            _cpu = value;
        }
    }

    public string Mem
    {
        get
        {
            return _mem;
        }
        set
        {
            _mem = value;
        }
    }

    public string Storage

    {
        get
        {
            return _storage;
        }
        set
        {
            _storage = value;
        }
    }

    public string Location
    {
        get
        {
            return _locat;
        }
        set
        {
            _locat = value;
        }
    }

    public string Notes
    {
        get
        {
            return _notes;
        }
        set
        {
            _notes = value;
        }
    }
}
